package labox.innovation.util;

import java.util.Random;

public class MTRandom {
	private Random _random;

	public Random getSecureRandom() {
		return _random;
	}

	public static final MTRandom getInstance() {
		return SingletonHolder._instance;
	}

	private MTRandom() {
		_random = new Random();
		_random.setSeed(System.currentTimeMillis());
		
	}

	@SuppressWarnings("synthetic-access")
	private static class SingletonHolder {
		protected static final MTRandom _instance = new MTRandom();
	}
}